package com.eps.module.testdagger2_2.component;

import com.eps.module.testdagger2_2.LoginActivity;
import com.eps.module.testdagger2_2.SecondActivity;
import com.eps.module.testdagger2_2.Test;

import dagger.Component;
import dagger.Subcomponent;

@Subcomponent
public interface LoginComponent {

    // Factory that is used to create instances of this subcomponent
    @Subcomponent.Factory
    interface Factory {
        LoginComponent create();
    }


    void inject(LoginActivity  loginActivity);
    void inject(SecondActivity secondActivity);

}
